package com.vito.dcs.water.waterGradation.service;

import java.util.List;
import java.util.Map;

import com.vito.base.authoriza.service.BaseService;
import com.vito.base.model.DataGrid;
import com.vito.dcs.water.waterGradation.model.WaterGradationModel;

/**
 * 水稳站筛孔合成级配统计
 * @author lyhao
 *
 */
public interface WaterGradationService extends BaseService {
	/**
	 * 保存
	 * @param waterGradationModel
	 * @return
	 */
	public int save(WaterGradationModel waterGradationModel);

	/**
	 * 分页查询
	 * @param waterGradationModel
	 * @return
	 */
	public DataGrid<WaterGradationModel> queryAllByPage(WaterGradationModel waterGradationModel);
	/**
	 * 查询
	 * @param waterGradationModel
	 * @return
	 */
	public WaterGradationModel query(WaterGradationModel waterGradationModel);
	/**
	 * 修改
	 * @param waterGradationModel
	 * @return
	 */
	public Integer update(WaterGradationModel waterGradationModel);
	
	/**
	 * 删除
	 * @param waterGradationModel
	 * @return
	 */
	public Integer delete(WaterGradationModel waterGradationModel);

    
	/**
	 * 保存
	 * @param waterGradationModel
	 * @return
	 */
	public int saveWaterGradation(WaterGradationModel waterGradationModel);
	
	/**
	 * 查询曲线图数据
	 * @param map
	 * @return
	 */
	public List<Map<String,String>> queryChartData(Map<String,String> map);
}